package com.example.zselasticsearchsf.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @Author: Steven
 * @Date: 2021/12/30 8:37
 */


@Document(collection = "inspection_record")
@Data
public class DemoEntity implements Serializable {

    @Id
    private Long id;

    private String title;

    private String description;

    private String by;

    private String url;

}

